var $ = require('webpack-zepto');
require('./loader.css');

function Loading(){
    this.start = function(){
        $('<div>',{
            class : 'load8',
            html : '<div class="loader"></div>'
        }).appendTo('body');
    };

    this.end = function(){
        $('.load8').remove();
    };
};

module.exports = new Loading();